package com.weixing.mall.provider.api.model.enums;

import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;

/**
 * @Author: kfc
 * @Description: <br/>
 * Date:Create in 2019/9/9 16:23
 * @Modified By:
 */

@NoArgsConstructor
public enum IsOfficialEnum implements IBaseEnum<Integer> {
    FORMAL(1,"正式"),
    PROBATION(0,"试用"),

    ;
    private int value;
    private String desp;

    IsOfficialEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
